<?php
/* @var $this TuanController */

?>
	<li class="item <?php echo (($index+1)%3==0)?'no_mr':''?>">
		<div class="pro_box">
			<div class="c_img">
				<?php echo CHtml::link(Tool::thumb($data->zpt_pic,300,200,$data->zpt_title),array('detail','id'=>$data->zpt_id))?>
			</div>
			<p class="title c_666 fs_14 fw_b t_c">
				<?php echo CHtml::link(mb_substr($data->zpt_title,0,26,'utf8'),array('detail','id'=>$data->zpt_id))?>
			</p>
			<p class="price bg_x <?php echo ($data->zpt_start_time>time())?'soon':(($data->product->zp_inventory<=0)?'sellout':'') ?>">
				<span class="f_r fs_20 ff_yh c_white"><?php echo ($data->zpt_start_time>time())?'即将开始':(($data->product->zp_inventory<=0)?'卖光了':'去看看') ?></span>
				<strong class="fs_30 ff_yh c_white">&yen;<?php echo $data->zpt_price?></strong>
			</p>
			<p class="other">
				<span class="sales f_r">已售：<strong class="c_green3"><?php echo empty($data->zpt_salenums)?'0':$data->zpt_salenums;?></strong>件</span>
				<span class="old_price">
					<em>原价：<?php echo $data->zpt_saleprice?>元</em>
					<em>折扣：<?php echo $data->zpt_discount?>折</em>
				</span>
			</p>
		</div>
	</li>
